package com.longdaji.decoration.ui.captainApply;


import com.longdaji.decoration.base.BasePresenter;
import com.longdaji.decoration.base.BaseView;
import com.longdaji.decoration.data.bean.CaptainCheckBean;

/**
 * Created by longtao on 2017/12/19.
 */

public interface CaptainApplyContract {

    interface View extends BaseView {
        void showApplySuccess();

        void showApplyFail(String msg);

        void getApplyStatusSuccess(CaptainCheckBean.CaptainCheck captainCheck);

        void getApplyStatusFail();
    }

    interface Presenter extends BasePresenter<View> {
        void applyCaptain(String userId, String captainName, String dormitoryId, String telephone);

        void getApplyStatus(String userId);
    }
}
